Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[derive] Test with trivial_bounds feature #515

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Oct 16, 2023

DO NOT MERGE: We need to debug this issue.

The nightly trivial_bounds causes some derive-emitted code to compile which is designed to fail compilation. This commit adds a test that ensures that the emitted code still triggers some compiler errors.

Affects #61

Closes #500

@joshlf joshlf marked this pull request as draft October 16, 2023 23:53
The nightly `trivial_bounds` causes some derive-emitted code to compile
which is designed to fail compilation. This commit adds a test that
ensures that the emitted code is still sound even with `trivial_bounds`
enabled.

Affects #61

Closes #500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confirm that #![feature(trivial_bounds)] doesn't permit bypassing derive-emitted trait bounds
1 participant